#pragma once
#include "Sketch/Action/QSketchCurveAction.h"
class QSketchCircleAction : public QSketchCurveAction
{
	Q_OBJECT

public:
	QSketchCircleAction(QSketchManager* parent, MainWindow* mainWindow);
	~QSketchCircleAction();

	virtual void StartCreate() override;
	virtual void OnMouseMove(const gp_Pnt& point) override;
	virtual void OnLeftDown(const gp_Pnt& point) override;
	virtual void Reset() override;

protected:
	gp_Pnt m_center;
	float m_radius = 0.f;
	bool bIsConfirmCenter = false;

	uint8_t m_centerPointActorID = 255;
};

